Detection Sensor Config Or Builder
Functions
Link copied to clipboard
abstract fun getDetectionTriggerType(): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig.TriggerType
The type of trigger event to be used
Content copied to clipboard
.meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType detection_trigger_type = 7;
Link copied to clipboard
The type of trigger event to be used
Content copied to clipboard
.meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType detection_trigger_type = 7;
Link copied to clipboard
Whether the Module is enabled
Content copied to clipboard
bool enabled = 1;
Link copied to clipboard
Interval in seconds of how often we can send a message to the mesh when a
trigger event is detected
Content copied to clipboard
uint32 minimum_broadcast_secs = 2;
Link copied to clipboard
GPIO pin to monitor for state changes
Content copied to clipboard
uint32 monitor_pin = 6;
Link copied to clipboard
Friendly name used to format message sent to mesh
Example: A name "Motion" would result in a message "Motion detected"
Maximum length of 20 characters
Content copied to clipboard
string name = 5;
Link copied to clipboard
Send ASCII bell with alert message
Useful for triggering ext. notification on bell
Content copied to clipboard
bool send_bell = 4;
Link copied to clipboard
Interval in seconds of how often we should send a message to the mesh
with the current state regardless of trigger events When set to 0, only
trigger events will be broadcasted Works as a sort of status heartbeat
for peace of mind
Content copied to clipboard
uint32 state_broadcast_secs = 3;
Link copied to clipboard
Whether or not use INPUT_PULLUP mode for GPIO pin
Only applicable if the board uses pull-up resistors on the pin
Content copied to clipboard
bool use_pullup = 8;